package com.pojo.mapper;

import com.pojo.Entity.Equipment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EquipmentMapper {
    public Integer insert(Equipment equipment);
    public Equipment   findByeID(Integer eID);
    public Integer update(Equipment equipment);
    public List<Equipment> findByPN(Integer page,Integer number,String eType);
    public Integer modifyQuantity(Integer eID,Integer eInventory);
    public Integer getsum(String eType);
    public Integer delete(Integer eID);
}
